/* 二维码生成器样式 */

/* 卡片样式 */
.card {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card-header {
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

/* 滑块样式 */
.form-range::-webkit-slider-thumb {
    background: #0d6efd;
}

.form-range::-moz-range-thumb {
    background: #0d6efd;
}

/* 颜色选择器样式 */
.form-control-color {
    width: 50px;
    height: 38px;
    padding: 3px;
}

/* 预设颜色按钮 */
.preset-color {
    font-size: 0.85rem;
    padding: 0.375rem 0.5rem;
}

/* Logo预览区域 */
#logoPreview {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 10px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 二维码预览区域 */
#qrCodePreview {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 点样式按钮 */
#dotStyleSquare, #dotStyleRound {
    min-width: 80px;
}

/* 上传Logo按钮 */
#uploadLogo {
    display: flex;
    align-items: center;
    gap: 5px;
}

#removeLogo {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 预览操作按钮 */
#copyQrCode, #downloadQrCode, #resetSettings {
    margin-left: 5px;
}

/* Toast消息样式 */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
}

.toast-success {
    background-color: #28a745;
}

.toast-error {
    background-color: #dc3545;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .preset-color {
        font-size: 0.75rem;
        padding: 0.25rem;
    }
    
    #qrCodePreview {
        min-height: 200px;
    }
}